package com.sduept.i1.model;

// 导地线微风振动波形信号数据报
public class BreezeSignalData {
	public short msgLen;
	// 17 1 1 4 1 1 2n
	// 25+2n
	
	private String componentId; // 被检测设备ID 17
	private byte unitSum; // 采集单元总数 1
	private byte unitNo; // 采集单元序号 1
	private int timeStamp; // 采集时间 4
	private byte samplePackSum; // 数据拆包总数 1
	private byte samplePackNo; // 数据报包序 1
	private short[] strainData; // 微风振动信号 2*N
	
	public String getComponentId() {
		return componentId;
	}
	public void setComponentId(String componentId) {
		this.componentId = String.format("%-17s", componentId);
	}
	public byte getUnitSum() {
		return unitSum;
	}
	public void setUnitSum(byte unitSum) {
		this.unitSum = unitSum;
	}
	public byte getUnitNo() {
		return unitNo;
	}
	public void setUnitNo(byte unitNo) {
		this.unitNo = unitNo;
	}
	public int getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(int timeStamp) {
		this.timeStamp = timeStamp;
	}
	public byte getSamplePackSum() {
		return samplePackSum;
	}
	public void setSamplePackSum(byte samplePackSum) {
		this.samplePackSum = samplePackSum;
	}
	public byte getSamplePackNo() {
		return samplePackNo;
	}
	public void setSamplePackNo(byte samplePackNo) {
		this.samplePackNo = samplePackNo;
	}
	public short[] getStrainData() {
		return strainData;
	}
	public void setStrainData(short[] strainData) {
		this.strainData = strainData;
	}
}
